This query returns a boolean value indicating whether guides are showing (true) or not showing (false).To show or hide the guides, use the PGuides command class.
PGetGuides isShowing;
if (isShowing == true) PGuides(false); // turn them off
Comments or suggestions? Contact Adobe Developer Support